using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_ITEM_NAME_QUERY_RESPONSE_DEF : DefinitionBase
    {
        public override bool Process()
        {
            ResetPosition();
            UInt32 entry = ReadUInt32();
            string name = ReadString();
            UInt32 category = ReadUInt32();
            GlobalCache.AddItemTemplateSum(entry, name);
            return Validate();
        }
 
    }
}
